public class AppleFactory implements IFarmFactory {
    public IProduct create() {
        return new Apple();
    }
}